package vn.orderonline.core.dao.entity;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable
public class MenuFoodFoodId implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer menuFoodId;
	private Integer foodId;
	
	public MenuFoodFoodId() {
		
	}
	
	public MenuFoodFoodId(Integer menuFoodId, Integer foodId) {
		this.menuFoodId = menuFoodId;
		this.foodId = foodId;
	}
	
	@Column(name = "MENU_FOOD_ID", nullable = false, precision = 10, scale = 0)
	public Integer getMenuFoodId() {
		return menuFoodId;
	}
	
	public void setMenuFoodId(Integer menuFoodId) {
		this.menuFoodId = menuFoodId;
	}
	
	@Column(name = "FOOD_ID", nullable = false, precision = 10, scale = 0)
	public Integer getFoodId() {
		return foodId;
	}
	
	public void setFoodId(Integer foodId) {
		this.foodId = foodId;
	}
	
}
